package com.anxin.service;

import com.anxin.entity.User;
import com.anxin.common.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {
    Result<Boolean> register(User user);
    Result<String> login(User user);

    List<User> getAllUsers();
}
